<extend name='layout:index'/>
<block name='content'>
	<div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span><i class="icon-table"></i>  广告管理<a href='__MODULE__/first/add' style='background:#2C2C30;margin-left:860px;color:#ddd;text-decoration:none;cursor:pointer'>添加广告</a></span>
                    </div>
                    <div class="mws-panel-body no-padding">
                        <table class="mws-table">
                            <thead>
                                <tr>
                                    <th>广告编号</th>
                                    <th>广告名称</th>
                                    <th>广告图片</th>
                                    <th>操作</th>                                    
                                </tr>
                            </thead>
                            <foreach name='data' item='vo'>                           
	                         		<tr>
	                         			<td><center>{$vo['adv_id']}</center></td>
	                         			<td><center>{$vo['adv_name']}</center></td>
	                         			<td><center><img width='150px' height='70px' src='__PUBLIC__/{$vo['img']}'></center></td>
	                         			 <td class=" sorting_6" style='text-align:center'>
                                    	<a href='__MODULE__/first/edit/advist_id/{$vo['adv_id']}' style='color:green;font-size:28px'title='编辑'><i class="icon-tools"></i></a>
                                    	&nbsp;&nbsp;
                                    	<a href='__MODULE__/first/delete/advist_id/{$vo['adv_id']}' style='color:red;font-size:30px'  title='删除'><i class="icon-trash"></i></a>
                                        &nbsp;&nbsp;
                                       
                                    </td>   
	                         		</tr>
                         		</foreach>
                            </tbody>
                        </table>
                    </div>
                </div>
</block>